﻿// Decompiled with JetBrains decompiler
// Type: DnProcessSimulateCommands.ExportToPLMX.SimulationStateExporter.CApExportToPlmxCameraStateData
// Assembly: DnProcessSimulateCommands, Version=2402.0.0.890, Culture=neutral, PublicKeyToken=null
// MVID: A885D881-AEDF-447E-852A-6F13102E089C
// Assembly location: C:\Program Files\Tecnomatix_2402\eMPower\DotNetCommands\DnProcessSimulateCommands.dll

using EngineeringInternalExtension;
using System.Runtime.Serialization;


namespace DnProcessSimulateCommands.ExportToPLMX.SimulationStateExporter;

[DataContract]
internal class CApExportToPlmxCameraStateData
{
  [DataMember(Order = 0)]
  public double cpx;
  [DataMember(Order = 1)]
  public double cpy;
  [DataMember(Order = 2)]
  public double cpz;
  [DataMember(Order = 3)]
  public double crx;
  [DataMember(Order = 4)]
  public double cry;
  [DataMember(Order = 5)]
  public double crz;
  [DataMember(Order = 6)]
  public double cux;
  [DataMember(Order = 7)]
  public double cuy;
  [DataMember(Order = 8)]
  public double cuz;
  [DataMember(Order = 9)]
  public double cpa;
  [DataMember(Order = 10)]
  public double cvpz;

  public override bool Equals(object other)
  {
    CApExportToPlmxCameraStateData plmxCameraStateData = other as CApExportToPlmxCameraStateData;
    return TxDoubleExtension.AlmostEquals(this.cpx, plmxCameraStateData.cpx) && TxDoubleExtension.AlmostEquals(this.cpy, plmxCameraStateData.cpy) && TxDoubleExtension.AlmostEquals(this.cpz, plmxCameraStateData.cpz) && TxDoubleExtension.AlmostEquals(this.crx, plmxCameraStateData.crx) && TxDoubleExtension.AlmostEquals(this.cry, plmxCameraStateData.cry) && TxDoubleExtension.AlmostEquals(this.crz, plmxCameraStateData.crz) && TxDoubleExtension.AlmostEquals(this.cux, plmxCameraStateData.cux) && TxDoubleExtension.AlmostEquals(this.cuy, plmxCameraStateData.cuy) && TxDoubleExtension.AlmostEquals(this.cuz, plmxCameraStateData.cuz) && TxDoubleExtension.AlmostEquals(this.cpa, plmxCameraStateData.cpa);
  }
}
